﻿using System;
using Sustainalytics.Entities;

namespace Sustainalytics.ESGRatings.DataLayer
{
    public class DataSetEntityDecorator<T> :IEntity where T : class
    {
        public DataSetEntityDecorator(T instance, Guid setId, string setName, DateTime creationDate)
        {
            Instance = instance;
            SetId = setId;
            SetName = setName;
            CreationDate = creationDate;
        }

        public Guid Id { get; set; }

        public Guid SetId { get; private set; }

        public T Instance { get; set; }

        public DateTime CreationDate { get; private set; }

        public string SetName { get; private set; }
    }


}
